/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package skipass;

/**
 *
 * @author andrii
 */
public abstract class DaysOfTheWeekAbstractPass extends AbstractPass {

    protected DaysOfTheWeek week;

    DaysOfTheWeekAbstractPass(DaysOfTheWeek week) {
        this.week = week;
    }

    protected boolean isCorrectDayOfTheWeek() {
        return week == DaysOfTheWeek.WEEKEND;
    }
}
